raar.vectorimagex
Class RAGAgentShape

java.lang.Object
  extended by vectorimage.GVectorObject
      extended by raar.vectorimagex.RAGAgentShape
All Implemented Interfaces:
java.io.Serializable

public class RAGAgentShape
extends GVectorObject

A vector image representation of an agent.

See Also:
Serialized Form

Constructor Summary
RAGAgentShape(RAAgent src)
          Create a shape.
 
Method Summary
 java.awt.Shape getShape()
          Get the actual shape.
 java.awt.Shape getShape(double xd, double yd, double rotation)
          Get the shape at position and angle given.
 int getType()
          Get the type of shape: AGENT.
 
Methods inherited from class vectorimage.GVectorObject
createGVectorObject, getColor, getObject, getOpacity, isFilled
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAGAgentShape

public RAGAgentShape(RAAgent src)
Create a shape.

Method Detail

getType

public int getType()
Get the type of shape: AGENT.


getShape

public java.awt.Shape getShape()
Get the actual shape.

Overrides:
getShape in class GVectorObject

getShape

public java.awt.Shape getShape(double xd,
                               double yd,
                               double rotation)
Get the shape at position and angle given.